package solution;

/**
 * @author or2
 * @Description
 * @create 2021年09月03日 时间: 11:39
 */
class NumsOfIslandTest2 {
    public static void main(String[] args) {
        NumsOfIsland2 numsOfIsland = new NumsOfIsland2();
        char[][] grid = {{1,1,0,0,0},{0,1,0,1,1},{0,0,0,1,1},{0,0,0,0,0},{0,0,1,1,1}};
        System.out.println(numsOfIsland.solve(grid));
    }
}